package com.apptech.canvasexample;

import android.support.v7.app.ActionBarActivity;
import android.graphics.Canvas;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;

public class MainActivity extends ActionBarActivity {

	private CanvasView customCanvas;
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		
		
		
		
		customCanvas = (CanvasView) findViewById(R.id.signature_canvas);
		
		
	}
	public void clearCanvas(View v) {
			        customCanvas.clearCanvas();
			    }
	
}
